package com.petadoption.serverclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.petadoption.serverclient.entity.Neck;
import org.apache.ibatis.annotations.SelectKey;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 汪仕杰
 * @since 2023-08-28
 */
public interface INeckService extends IService<Neck> {

    @SelectKey(statement = "select LAST_INSERT_ID()", keyProperty = "pet_id", before = false, resultType = Long.class)
    int addNeck(Neck neck);


}
